#include <iostream>

using namespace std;

int main(int argc, char* argv[], char* env[])
{
    cout << "打印命令行参数" <<endl;
    for(int i = 0; argv[i];  i++)
    {
        cout << i << " : " << argv[i] << endl;
    }

    cout << "打印环境变量" << endl;
    for(int i = 0; env[i]; i++)
    {
        cout << i << " : " << env[i] << endl;
    }

    //cout << "hello C++ Linux" << endl;
    //cout << "hello C++ Linux" << endl;
    //cout << "hello C++ Linux" << endl;
    //cout << "hello C++ Linux" << endl;
    //cout << "hello C++ Linux" << endl;
    //cout << "hello C++ Linux" << endl;
    //cout << "hello C++ Linux" << endl;



    return 0;
}
